const {defineConfig} = require("@vue/cli-service");
const {resolve} = require("path");
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false, //关闭eslint检查
  configureWebpack: { // 配置webpack
    resolve: {
      // extensions:[], // 后缀名省略配置
      alias: {
        "@": resolve("./src"),  // 默认配置了
        "@assets": "@/assets",
        "@request": "@/request",
        "@views": "@/views",
        "@components": "@/components",
        "@store": "@/store",
        "@apis": "@/apis",
        "@plugins": "@/plugins",
        "@styles": "@/styles",
        "@config": "@/config"
      }
    }
  }
});
